<template>
  <div>
    <GpBaseTable ref="gpBaseTable" primary-key="id" :columns="columns"
                 :url="url"
                 sync-data-url="/xcdhTrading/stock-info/syncAstock">
    </GpBaseTable>
  </div>
</template>

<script>
export default {
  name: "AStock",
  data(){
    return {
      url: '/xcdhTrading/stock-info/v2/listByPage' ,
      columns:[
        {
          "key": "tsCode",
          "title": "T5代码",
          search: true,
          op: 'LIKE' ,
          attrs:{
            width: 120 ,
          }
        },
        {
          "key": "symbol",
          "title": "股票代码",
          search: true ,
          op: 'LIKE'
        },
        {
          "key": "name",
          "title": "股票名称",
          search: true,
          op: 'LIKE' ,

        },
        {
          "key": "area",
          "title": "地域"
        },
        {
          "key": "industry",
          "title": "所属行业"
        },
        {
          "key": "fullname",
          "title": "股票全称",
          attrs:{
            width: 150 ,
          }
        },
        {
          "key": "enname",
          "title": "英文全称" ,
          attrs:{
            width: 160 ,
          }
        },
        {
          "key": "cnspell",
          "title": "拼音缩写"
        },
        {
          "key": "market",
          "title": "市场类型"
        },
        {
          "key": "exchange",
          "title": "交易所代码",
          attrs:{
            width: 160 ,
          }
        },
        {
          "key": "currType",
          "title": "交易货币"
        },
        {
          "key": "listStatus",
          "title": "上市状态"
        },
        {
          "key": "listDate",
          "title": "上市日期",
          attrs:{
            width: 160 ,
          }
        },
        {
          "key": "delistDate",
          "title": "退市日期",
          attrs:{
            width: 160 ,
          }
        },
        {
          "key": "isHs",
          "title": "是否沪深港通标的"
        },
        {
          "key": "actName",
          "title": "实控人名称",
          attrs:{
            width: 260 ,
          }
        },
        {
          "key": "actEntType",
          "title": "实控人企业性质"
        }
      ]
    }
  }
}
</script>

<style scoped>

</style>
